<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Lithne: LithneClass Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Lithne
   &#160;<span id="projectnumber">v0.9</span>
   </div>
   <div id="projectbrief">Lithne Library</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.8.0 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('class_lithne_class.html','');
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">LithneClass Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a5fbcf20c03946881f7949a1a1370a359"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#a5fbcf20c03946881f7949a1a1370a359">LithneClass</a> ()</td></tr>
<tr class="memitem:a1d0f3adecbcb9138768e4a3f941bc318"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#a1d0f3adecbcb9138768e4a3f941bc318">init</a> (uint32_t _baud=115200, HardwareSerial &amp;port=Serial)</td></tr>
<tr class="memitem:a0bd0c0fbd966cc7e8f3ad0ba46bad922"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#a0bd0c0fbd966cc7e8f3ad0ba46bad922">begin</a> (uint32_t _baud=115200, HardwareSerial &amp;port=Serial)</td></tr>
<tr class="memitem:a91bc4d4476c406e994bef51e1481ba63"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#a91bc4d4476c406e994bef51e1481ba63">setRecipient</a> (uint8_t _i)</td></tr>
<tr class="memitem:acd951d418fc20a0c45497e7e10571893"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#acd951d418fc20a0c45497e7e10571893">setRecipient</a> (XBeeAddress64 _add64)</td></tr>
<tr class="memitem:a5d4610fb0eb35bd8a0d4b78bc9e07579"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#a5d4610fb0eb35bd8a0d4b78bc9e07579">setRecipient16</a> (uint16_t _add16)</td></tr>
<tr class="memitem:a839969ec979c591d9c78d825bc9e6140"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#a839969ec979c591d9c78d825bc9e6140">setFunction</a> (uint8_t _function)</td></tr>
<tr class="memitem:aa5472d1a6c142ea5181e1f1009578ae8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#aa5472d1a6c142ea5181e1f1009578ae8">addArgument</a> (uint16_t _arg)</td></tr>
<tr class="memitem:ae9399f5ec7881c5d18173def8068108e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#ae9399f5ec7881c5d18173def8068108e">send</a> ()</td></tr>
<tr class="memitem:a1e3a1e1e3cb3913bcfff7b4aa255c68e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#a1e3a1e1e3cb3913bcfff7b4aa255c68e">send</a> (XBeeAddress64 recipient, uint8_t function)</td></tr>
<tr class="memitem:a2d092479eafccfbcbefbde7a1ee965f7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#a2d092479eafccfbcbefbde7a1ee965f7">send</a> (uint8_t id, uint8_t function)</td></tr>
<tr class="memitem:a240a81cd6a7613fb6394d3c7d2bbd3a9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#a240a81cd6a7613fb6394d3c7d2bbd3a9">sendMessage</a> (<a class="el" href="class_message.html">Message</a> *_mes)</td></tr>
<tr class="memitem:aa753b7136f67e3cb83d737c6d735e1a2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#aa753b7136f67e3cb83d737c6d735e1a2">sendDBRequest</a> (uint8_t _id)</td></tr>
<tr class="memitem:aee9dd415a1651e4d4bd18e8f99f5b64b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#aee9dd415a1651e4d4bd18e8f99f5b64b">sendDBRequest</a> (XBeeAddress64 _add64)</td></tr>
<tr class="memitem:a89e3fe95e01249cf24919161942da3b6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a89e3fe95e01249cf24919161942da3b6"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>sendDBRequest</b> (<a class="el" href="class_node.html">Node</a> *_receivingNode)</td></tr>
<tr class="memitem:adf21dd1cc2dc613c8548ea8acb1b6639"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#adf21dd1cc2dc613c8548ea8acb1b6639">sendDBRequest16</a> (uint16_t _addr16)</td></tr>
<tr class="memitem:a43203433b3de84a2aae44b58f8cc5c2e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#a43203433b3de84a2aae44b58f8cc5c2e">getMyInfo</a> ()</td></tr>
<tr class="memitem:a17fb87eca91a2945b13cd0c9ea651aee"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#a17fb87eca91a2945b13cd0c9ea651aee">setScope</a> (uint16_t _scope)</td></tr>
<tr class="memitem:acf82b576d4609a7db32fac9ca8749194"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#acf82b576d4609a7db32fac9ca8749194">addScope</a> (uint16_t _scope)</td></tr>
<tr class="memitem:a0da8707d4b475d6a37dc5668615081e3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#a0da8707d4b475d6a37dc5668615081e3">joinGroup</a> (String _group)</td></tr>
<tr class="memitem:af052449ab222cc24d3f4b2cacd62e885"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#af052449ab222cc24d3f4b2cacd62e885">helloWorld</a> (bool askReply=false)</td></tr>
<tr class="memitem:a4a47f12debf6d5d7273c3e5fb360417a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#a4a47f12debf6d5d7273c3e5fb360417a">available</a> ()</td></tr>
<tr class="memitem:afe57aa0db9cebb459ce153e8b2efd97c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#afe57aa0db9cebb459ce153e8b2efd97c">addNode</a> (uint8_t _id, XBeeAddress64 _addr64=XBeeAddress64(0x0, 0xFFFF), uint16_t _addr16=UNKNOWN_16B)</td></tr>
<tr class="memitem:a4679fe0109c566c514ad478259590d86"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#a4679fe0109c566c514ad478259590d86">nodeKnown</a> (uint8_t _id)</td></tr>
<tr class="memitem:a0d67173c01e15f0259d36900dc711ab4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#a0d67173c01e15f0259d36900dc711ab4">nodeKnown64</a> (XBeeAddress64 _add64)</td></tr>
<tr class="memitem:a7119697e190858f401cd680810388cbd"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#a7119697e190858f401cd680810388cbd">nodeKnown16</a> (uint16_t _addr16)</td></tr>
<tr class="memitem:ac5932fd98add0f74369dd4eeef52a0cd"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#ac5932fd98add0f74369dd4eeef52a0cd">newDBMeasurement</a> (uint8_t _id)</td></tr>
<tr class="memitem:a90812fe7bc3782b79ab45d50f1a06145"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#a90812fe7bc3782b79ab45d50f1a06145">hasScope</a> (uint16_t _scope)</td></tr>
<tr class="memitem:a3e4d24990d8260faab7799bf1a94ba25"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#a3e4d24990d8260faab7799bf1a94ba25">digitalPin</a> (uint8_t _position)</td></tr>
<tr class="memitem:ac26ce6ebaa8680eeabf7f678edfef6ab"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#ac26ce6ebaa8680eeabf7f678edfef6ab">pwmPin</a> (uint8_t _position)</td></tr>
<tr class="memitem:aadb53b8c2f789c39bc7d201ed4534e7c"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#aadb53b8c2f789c39bc7d201ed4534e7c">getNumberOfArguments</a> ()</td></tr>
<tr class="memitem:a088d8fd346428f798252103fd4a01464"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#a088d8fd346428f798252103fd4a01464">getNumberOfNodes</a> ()</td></tr>
<tr class="memitem:ad0c185e247f59816bfe6eabe01805506"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#ad0c185e247f59816bfe6eabe01805506">getFunction</a> ()</td></tr>
<tr class="memitem:aab0c580ab2647e6fba95fbe547ebc42f"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#aab0c580ab2647e6fba95fbe547ebc42f">getArgument</a> (uint8_t _arg)</td></tr>
<tr class="memitem:a252873cdddcbf578e97449560d1e32f2"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#a252873cdddcbf578e97449560d1e32f2">getMyAddress16</a> (bool forceCheck=false)</td></tr>
<tr class="memitem:a63567631e8d26854dfe89d58eed47df4"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#a63567631e8d26854dfe89d58eed47df4">getMyPAN</a> (bool forceCheck=false)</td></tr>
<tr class="memitem:aad0e4c1548fe8c12716e596f1e0955cc"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#aad0e4c1548fe8c12716e596f1e0955cc">getMyAssociationStatus</a> (bool forceCheck=false)</td></tr>
<tr class="memitem:af46fefad0e438edaedd735e1e6ce249c"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#af46fefad0e438edaedd735e1e6ce249c">getScope</a> ()</td></tr>
<tr class="memitem:aae703a3f9faabb3474d1f08b002f84e2"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#aae703a3f9faabb3474d1f08b002f84e2">hashGroup</a> (String _group)</td></tr>
<tr class="memitem:a4adf83103b7030336d7dffe792457bb5"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#a4adf83103b7030336d7dffe792457bb5">getSender16</a> ()</td></tr>
<tr class="memitem:a8dfe8a830c34eb495d5950b2ca70c2ac"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#a8dfe8a830c34eb495d5950b2ca70c2ac">sendATCommand</a> (uint8_t *cmd, uint16_t waitForResponse=0)</td></tr>
<tr class="memitem:a655dc1f9216a2fbcab23492bd9d9093b"><td class="memItemLeft" align="right" valign="top">XBeeAddress64&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#a655dc1f9216a2fbcab23492bd9d9093b">getSender64</a> ()</td></tr>
<tr class="memitem:a1617463636108b5cfbc7f0f6b96af506"><td class="memItemLeft" align="right" valign="top">XBeeAddress64&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#a1617463636108b5cfbc7f0f6b96af506">getMyAddress64</a> (bool forceCheck=false)</td></tr>
<tr class="memitem:ace25ce0768e29f56f0613991b65a90f6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_node.html">Node</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#ace25ce0768e29f56f0613991b65a90f6">getNode</a> (uint8_t _position)</td></tr>
<tr class="memitem:a51d4c270e7f9ea1deed445cbb541f799"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_node.html">Node</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#a51d4c270e7f9ea1deed445cbb541f799">getNodeBy64</a> (XBeeAddress64 _addr64)</td></tr>
<tr class="memitem:a6aa107544cddb1983e17b85262b9810d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_node.html">Node</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#a6aa107544cddb1983e17b85262b9810d">getNodeBy16</a> (uint16_t _addr16)</td></tr>
<tr class="memitem:a434a3927e5b05d7c5a1df9f33fef791c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_node.html">Node</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lithne_class.html#a434a3927e5b05d7c5a1df9f33fef791c">getNodeByID</a> (uint8_t _nodeId)</td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a5fbcf20c03946881f7949a1a1370a359"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_lithne_class.html">LithneClass</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Default constructor called when importing the library. Used to initialize the nodes and scopes arrays and create incoming and outgoing message objects </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aa5472d1a6c142ea5181e1f1009578ae8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_lithne_class.html#aa5472d1a6c142ea5181e1f1009578ae8">addArgument</a> </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>_arg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Add an argument to the message </p>

</div>
</div>
<a class="anchor" id="afe57aa0db9cebb459ce153e8b2efd97c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_lithne_class.html#afe57aa0db9cebb459ce153e8b2efd97c">addNode</a> </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XBeeAddress64&#160;</td>
          <td class="paramname"><em>_addr64</em> = <code>XBeeAddress64(0x0,&#160;0xFFFF)</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>_addr16</em> = <code>UNKNOWN_16B</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Add a new node to the memory, giving it a specific ID If succesful, return true, otherwise return false. </p>

</div>
</div>
<a class="anchor" id="acf82b576d4609a7db32fac9ca8749194"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_lithne_class.html#acf82b576d4609a7db32fac9ca8749194">addScope</a> </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>_scope</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Add the new scope to the existing array </p>

</div>
</div>
<a class="anchor" id="a4a47f12debf6d5d7273c3e5fb360417a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_lithne_class.html#a4a47f12debf6d5d7273c3e5fb360417a">available</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Check whether new data is available. If so, raise newMessage flag </p>

</div>
</div>
<a class="anchor" id="a0bd0c0fbd966cc7e8f3ad0ba46bad922"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_lithne_class.html#a0bd0c0fbd966cc7e8f3ad0ba46bad922">begin</a> </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>_baud</em> = <code>115200</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HardwareSerial &amp;&#160;</td>
          <td class="paramname"><em>_port</em> = <code>Serial</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Specify the baud rate at which to communicate to the XBee </p>

</div>
</div>
<a class="anchor" id="a3e4d24990d8260faab7799bf1a94ba25"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t <a class="el" href="class_lithne_class.html#a3e4d24990d8260faab7799bf1a94ba25">digitalPin</a> </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>position</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the pin number of the digital out pins. This makes it easy to refer to the digital output pins as 0-6, as they are mapped on the Lithne node </p>

</div>
</div>
<a class="anchor" id="aab0c580ab2647e6fba95fbe547ebc42f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t <a class="el" href="class_lithne_class.html#aab0c580ab2647e6fba95fbe547ebc42f">getArgument</a> </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>arg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the argument at the specified position </p>

</div>
</div>
<a class="anchor" id="ad0c185e247f59816bfe6eabe01805506"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t <a class="el" href="class_lithne_class.html#ad0c185e247f59816bfe6eabe01805506">getFunction</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the function of the incoming message </p>

</div>
</div>
<a class="anchor" id="a252873cdddcbf578e97449560d1e32f2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t <a class="el" href="class_lithne_class.html#a252873cdddcbf578e97449560d1e32f2">getMyAddress16</a> </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>forceCheck</em> = <code>false</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the 16-bit address of the own node </p>

</div>
</div>
<a class="anchor" id="a1617463636108b5cfbc7f0f6b96af506"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">XBeeAddress64 <a class="el" href="class_lithne_class.html#a1617463636108b5cfbc7f0f6b96af506">getMyAddress64</a> </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>forceCheck</em> = <code>false</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the own 64-bit Serial Address of the XBee connected </p>

</div>
</div>
<a class="anchor" id="aad0e4c1548fe8c12716e596f1e0955cc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t <a class="el" href="class_lithne_class.html#aad0e4c1548fe8c12716e596f1e0955cc">getMyAssociationStatus</a> </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>forceCheck</em> = <code>false</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the association status of the XBee </p>

</div>
</div>
<a class="anchor" id="a43203433b3de84a2aae44b58f8cc5c2e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_lithne_class.html#a43203433b3de84a2aae44b58f8cc5c2e">getMyInfo</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Collect information of the XBee connected to the local node. However, this information is only written when the XBee is read. </p>

</div>
</div>
<a class="anchor" id="a63567631e8d26854dfe89d58eed47df4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t <a class="el" href="class_lithne_class.html#a63567631e8d26854dfe89d58eed47df4">getMyPAN</a> </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>forceCheck</em> = <code>false</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the PAN ID of the xbee network </p>

</div>
</div>
<a class="anchor" id="ace25ce0768e29f56f0613991b65a90f6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_node.html">Node</a> * <a class="el" href="class_lithne_class.html#ace25ce0768e29f56f0613991b65a90f6">getNode</a> </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>position</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the node at the specific location in the node array. Argument: the location in the node array </p>

</div>
</div>
<a class="anchor" id="a6aa107544cddb1983e17b85262b9810d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_node.html">Node</a> * <a class="el" href="class_lithne_class.html#a6aa107544cddb1983e17b85262b9810d">getNodeBy16</a> </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>_addr16</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Searches the node array for the node with specified 16-bit address. If this node ID exists we return a pointer to that node, otherwise we return a new node with an unkown node id </p>

</div>
</div>
<a class="anchor" id="a51d4c270e7f9ea1deed445cbb541f799"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_node.html">Node</a> * <a class="el" href="class_lithne_class.html#a51d4c270e7f9ea1deed445cbb541f799">getNodeBy64</a> </td>
          <td>(</td>
          <td class="paramtype">XBeeAddress64&#160;</td>
          <td class="paramname"><em>_addr64</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Searches the node array for the node with specified 64-bit address. If this node ID exists we return a pointer to that node, otherwise we return a new node with an unkown node id </p>

</div>
</div>
<a class="anchor" id="a434a3927e5b05d7c5a1df9f33fef791c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_node.html">Node</a> * <a class="el" href="class_lithne_class.html#a434a3927e5b05d7c5a1df9f33fef791c">getNodeByID</a> </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>_id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Searches the node array for the node specified node ID. If this node ID exists we return a pointer to that node, otherwise we return a new node with an unkown node id </p>

</div>
</div>
<a class="anchor" id="aadb53b8c2f789c39bc7d201ed4534e7c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t <a class="el" href="class_lithne_class.html#aadb53b8c2f789c39bc7d201ed4534e7c">getNumberOfArguments</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the number of arguments in the incoming message </p>

</div>
</div>
<a class="anchor" id="a088d8fd346428f798252103fd4a01464"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t <a class="el" href="class_lithne_class.html#a088d8fd346428f798252103fd4a01464">getNumberOfNodes</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the number of nodes currently known </p>

</div>
</div>
<a class="anchor" id="af46fefad0e438edaedd735e1e6ce249c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t <a class="el" href="class_lithne_class.html#af46fefad0e438edaedd735e1e6ce249c">getScope</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the scope of the incoming message </p>

</div>
</div>
<a class="anchor" id="a4adf83103b7030336d7dffe792457bb5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t <a class="el" href="class_lithne_class.html#a4adf83103b7030336d7dffe792457bb5">getSender16</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the 16-bit address of the sender as stored in the message </p>

</div>
</div>
<a class="anchor" id="a655dc1f9216a2fbcab23492bd9d9093b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">XBeeAddress64 <a class="el" href="class_lithne_class.html#a655dc1f9216a2fbcab23492bd9d9093b">getSender64</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the address of the sender of the message </p>

</div>
</div>
<a class="anchor" id="aae703a3f9faabb3474d1f08b002f84e2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t <a class="el" href="class_lithne_class.html#aae703a3f9faabb3474d1f08b002f84e2">hashGroup</a> </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>_group</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns a hash code based on the name of a group </p>

</div>
</div>
<a class="anchor" id="a90812fe7bc3782b79ab45d50f1a06145"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_lithne_class.html#a90812fe7bc3782b79ab45d50f1a06145">hasScope</a> </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>_scope</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Checks whether the provided hash scope is included in the known scopes. </p>

</div>
</div>
<a class="anchor" id="af052449ab222cc24d3f4b2cacd62e885"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_lithne_class.html#af052449ab222cc24d3f4b2cacd62e885">helloWorld</a> </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>askReply</em> = <code>false</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Broadcasts a hello world command and either requests a reply. If a reply is requested, a node will reply with hello world, but should NOT ask for a reply (otherwise you end up in an infinite loop). </p>

</div>
</div>
<a class="anchor" id="a1d0f3adecbcb9138768e4a3f941bc318"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_lithne_class.html#a1d0f3adecbcb9138768e4a3f941bc318">init</a> </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>_baud</em> = <code>115200</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HardwareSerial &amp;&#160;</td>
          <td class="paramname"><em>_port</em> = <code>Serial</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Specify the baud rate at which to communicate to the XBee </p>

</div>
</div>
<a class="anchor" id="a0da8707d4b475d6a37dc5668615081e3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_lithne_class.html#a0da8707d4b475d6a37dc5668615081e3">joinGroup</a> </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>_group</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Creates a hash code of the specified string and adds this to the internal hash register. arg: String with maximum 20 characters </p>

</div>
</div>
<a class="anchor" id="ac5932fd98add0f74369dd4eeef52a0cd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_lithne_class.html#ac5932fd98add0f74369dd4eeef52a0cd">newDBMeasurement</a> </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>_id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Check if a new DB measurement is available for a particular node (identified by <a class="el" href="class_node.html">Node</a> ID) </p>

</div>
</div>
<a class="anchor" id="a4679fe0109c566c514ad478259590d86"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_lithne_class.html#a4679fe0109c566c514ad478259590d86">nodeKnown</a> </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>_id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Checks whether there is a node with the specified ID in the memory </p>

</div>
</div>
<a class="anchor" id="a7119697e190858f401cd680810388cbd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_lithne_class.html#a7119697e190858f401cd680810388cbd">nodeKnown16</a> </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>_addr16</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Checks whether the node with the specified 16-bit address exists in the nodes[]. </p>

</div>
</div>
<a class="anchor" id="a0d67173c01e15f0259d36900dc711ab4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_lithne_class.html#a0d67173c01e15f0259d36900dc711ab4">nodeKnown64</a> </td>
          <td>(</td>
          <td class="paramtype">XBeeAddress64&#160;</td>
          <td class="paramname"><em>_addr64</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Checks whether the node with the specified 64-bit address exists in the nodes[]. </p>

</div>
</div>
<a class="anchor" id="ac26ce6ebaa8680eeabf7f678edfef6ab"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t <a class="el" href="class_lithne_class.html#ac26ce6ebaa8680eeabf7f678edfef6ab">pwmPin</a> </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>position</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the pin number of the pwm (DAC) out pins. This makes it easy to refer to the digital output pins as 0-6, as they are mapped on the Lithne node </p>

</div>
</div>
<a class="anchor" id="ae9399f5ec7881c5d18173def8068108e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_lithne_class.html#ae9399f5ec7881c5d18173def8068108e">send</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Transmit the outgoing message, use setRecipient and setFunction before calling this function </p>

</div>
</div>
<a class="anchor" id="a1e3a1e1e3cb3913bcfff7b4aa255c68e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_lithne_class.html#ae9399f5ec7881c5d18173def8068108e">send</a> </td>
          <td>(</td>
          <td class="paramtype">XBeeAddress64&#160;</td>
          <td class="paramname"><em>recipient</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>function</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Transmit outgoing message with the specified recipient by 64 bit address and function </p>

</div>
</div>
<a class="anchor" id="a2d092479eafccfbcbefbde7a1ee965f7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_lithne_class.html#ae9399f5ec7881c5d18173def8068108e">send</a> </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>_function</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Transmit outgoing message with the specified recipient ID and function </p>

</div>
</div>
<a class="anchor" id="a8dfe8a830c34eb495d5950b2ca70c2ac"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t <a class="el" href="class_lithne_class.html#a8dfe8a830c34eb495d5950b2ca70c2ac">sendATCommand</a> </td>
          <td>(</td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>waitForResponse</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Sends an ATCommand and returns the response as a 32-bit integer. If you specify a value of waitForResponse, the program will wait for the amount of ms specified by waitForResponse and immediately process the AT response. If you don't specify a value or specify 0 the program will call the general readXbee() and process the response there and write it to the corresponding variables. This function will then return 0. </p>

</div>
</div>
<a class="anchor" id="aa753b7136f67e3cb83d737c6d735e1a2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_lithne_class.html#aa753b7136f67e3cb83d737c6d735e1a2">sendDBRequest</a> </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>_id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Transmit a DB request (RSSI, signal strength) by using the node identifier </p>

</div>
</div>
<a class="anchor" id="aee9dd415a1651e4d4bd18e8f99f5b64b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_lithne_class.html#aa753b7136f67e3cb83d737c6d735e1a2">sendDBRequest</a> </td>
          <td>(</td>
          <td class="paramtype">XBeeAddress64&#160;</td>
          <td class="paramname"><em>_addr64</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Transmit a DB request (RSSI, signal strength) by using the 64-bit address </p>

</div>
</div>
<a class="anchor" id="adf21dd1cc2dc613c8548ea8acb1b6639"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_lithne_class.html#adf21dd1cc2dc613c8548ea8acb1b6639">sendDBRequest16</a> </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>_addr16</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Transmit a DB request (RSSI, signal strength) by using the 16-bit address </p>

</div>
</div>
<a class="anchor" id="a240a81cd6a7613fb6394d3c7d2bbd3a9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_lithne_class.html#a240a81cd6a7613fb6394d3c7d2bbd3a9">sendMessage</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_message.html">Message</a> *&#160;</td>
          <td class="paramname"><em>message</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>EXPERT FUNCTION - DON'T CALL UNLESS YOU KNOW WHAT YOU ARE DOING! Transmits the message in the argument and consequently read the response from the XBee. <a class="el" href="class_message.html">Message</a> * message: <a class="el" href="class_message.html">Message</a> to be transmitted. </p>

</div>
</div>
<a class="anchor" id="a839969ec979c591d9c78d825bc9e6140"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_lithne_class.html#a839969ec979c591d9c78d825bc9e6140">setFunction</a> </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>_function</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the function to call in the outgoing message </p>

</div>
</div>
<a class="anchor" id="a91bc4d4476c406e994bef51e1481ba63"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_lithne_class.html#a91bc4d4476c406e994bef51e1481ba63">setRecipient</a> </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>_id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the address of the receiving XBee by using the identifier (not the same as array position in the Nodes array!) </p>

</div>
</div>
<a class="anchor" id="acd951d418fc20a0c45497e7e10571893"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_lithne_class.html#a91bc4d4476c406e994bef51e1481ba63">setRecipient</a> </td>
          <td>(</td>
          <td class="paramtype">XBeeAddress64&#160;</td>
          <td class="paramname"><em>_add64</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the address of the receiving XBee by using the full 64 bit address </p>

</div>
</div>
<a class="anchor" id="a5d4610fb0eb35bd8a0d4b78bc9e07579"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_lithne_class.html#a5d4610fb0eb35bd8a0d4b78bc9e07579">setRecipient16</a> </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>_add16</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Retrieves the 64-bit address based on the 16-bit address </p>

</div>
</div>
<a class="anchor" id="a17fb87eca91a2945b13cd0c9ea651aee"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_lithne_class.html#a17fb87eca91a2945b13cd0c9ea651aee">setScope</a> </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>_scope</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Sets the hash code of the group (scope) to the outgoing message </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>E:/My Documents/Arduino/libraries/Lithne/<a class="el" href="_lithne_8h_source.html">Lithne.h</a></li>
<li>E:/My Documents/Arduino/libraries/Lithne/Lithne.cpp</li>
</ul>
</div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="class_lithne_class.html">LithneClass</a>      </li>

    <li class="footer">Generated on Wed Apr 4 2012 17:22:48 for Lithne by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.0 </li>
   </ul>
 </div>


</body>
</html>
